package com.soft.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.soft.entity.Goodsloc;
import com.soft.service.GoodslocService;

@RestController
@RequestMapping("/Goodsloc")
public class GoodslocController {
	@Autowired
	private GoodslocService goodslocService;
	
	@RequestMapping("/queryByGoodsName")
	public List<Goodsloc> queryByGoodsName(String goodsname){
		return goodslocService.queryByGoodsName(goodsname);
	}

}